using System;
using System.Collections.Generic;
using System.Text;
using System.EnterpriseServices;
using System.Runtime.InteropServices;

namespace _13_COMServer
{
    [Transaction(TransactionOption.Disabled)]
    [ClassInterface(ClassInterfaceType.AutoDual)]
    [Guid("F79A8505-D2AA-4504-8794-6D85498FE0B6")]
    [ConstructionEnabled(Default = @"C:\temp")]

    public class MyCOMServerImpl : ServicedComponent,IMyCOMServer
    {
        public MyCOMServerImpl() : base()
        {
        }
        public string doSomeAction(MyParameter param)
        {
            return "Hello World " + param.sParam +" !";
        }
    }
}
